import requset from '@/utils/requset'

// 验证码
export const getYzm = (rad) => requset({
  url: `/user-service/user/imageCode/${rad}`,
  // 必须加 responseType: 'blob' blob格式
  responseType: 'blob'
})
// 登录
export const getlogin = (data) => requset({
  method: 'post',
  url: '/user-service/user/login',
  data
})
